using UnityEngine;

public class Bullet_Sample : Bullet
{
    void Awake(){
        base.OnHurt.AddListener((e)=>OnHurt(e));
        base.OnWay.AddListener((e)=>OnWay(e));
        base.OnDisappear.AddListener((e)=>OnDisappear(e));;
    }

    new void OnHurt(Entity other){
        Debug.Log("Hurt");
        Die(null);
    }

    new void OnWay(Entity other){
        Turn();
    }
    
    new void OnDisappear(Entity other){
        Debug.Log("Disapper");
    }
}
